imageware
Class ShortProcess

java.lang.Object
  extended by imageware.ShortBuffer
      extended by imageware.ShortAccess
          extended by imageware.ShortPointwise
              extended by imageware.ShortProcess
All Implemented Interfaces:
Access, Buffer, Pointwise, Process
Direct Known Subclasses:
ShortSet

public class ShortProcess
extends ShortPointwise
implements Process

Class ShortProcess.


Field Summary
 
Fields inherited from class imageware.ShortBuffer
data, nx, nxy, ny, nz
 
Constructor Summary
protected ShortProcess(byte[][][] array, int mode)
           
protected ShortProcess(byte[][] array, int mode)
           
protected ShortProcess(byte[] array, int mode)
           
protected ShortProcess(double[][][] array, int mode)
           
protected ShortProcess(double[][] array, int mode)
           
protected ShortProcess(double[] array, int mode)
           
protected ShortProcess(float[][][] array, int mode)
           
protected ShortProcess(float[][] array, int mode)
           
protected ShortProcess(float[] array, int mode)
           
protected ShortProcess(java.awt.Image image, int mode)
           
protected ShortProcess(ij.ImageStack stack, byte chan)
           
protected ShortProcess(ij.ImageStack stack, int mode)
           
protected ShortProcess(int nx, int ny, int nz)
           
protected ShortProcess(short[][][] array, int mode)
           
protected ShortProcess(short[][] array, int mode)
           
protected ShortProcess(short[] array, int mode)
           
 
Method Summary
 void add(ImageWare imageware)
          Add a imageware to the current imageware.
 void divide(ImageWare imageware)
          Divide a imageware to the current imageware.
 void max(ImageWare imageware)
          Get the maximum of this imageware and a imageware.
 void min(ImageWare imageware)
          Get the minimum of this imageware and a imageware.
 void multiply(ImageWare imageware)
          Multiply a imageware to the current imageware.
 void smoothGaussian(double sigma)
          Apply a separable gaussian smoothing over the image with the same strengthness in all directions.
 void smoothGaussian(double sigmaX, double sigmaY, double sigmaZ)
          Apply a separablegaussian smoothing over the image with an independant strengthness in the different directions.
 void subtract(ImageWare imageware)
          Subtract a imageware to the current imageware.
 
Methods inherited from class imageware.ShortPointwise
abs, add, addGaussianNoise, addSaltPepper, addUniformNoise, buildImageStack, clip, clip, divide, exp, fillConstant, fillGaussianNoise, fillRamp, fillSaltPepper, fillUniformNoise, invert, log, multiply, negate, pow, rescale, rescale, rescaleCenter, sqr, sqrt, subtract, threshold, threshold, thresholdHard, thresholdSoft
 
Methods inherited from class imageware.ShortAccess
getBlockX, getBlockX, getBlockX, getBlockX, getBlockXY, getBlockXY, getBlockXY, getBlockXY, getBlockXYZ, getBlockXYZ, getBlockXYZ, getBlockXYZ, getBlockXZ, getBlockXZ, getBlockXZ, getBlockXZ, getBlockY, getBlockY, getBlockY, getBlockY, getBlockYZ, getBlockYZ, getBlockYZ, getBlockYZ, getBlockZ, getBlockZ, getBlockZ, getBlockZ, getBoundedX, getBoundedX, getBoundedX, getBoundedX, getBoundedXY, getBoundedXY, getBoundedXY, getBoundedXY, getBoundedXYZ, getBoundedXYZ, getBoundedXYZ, getBoundedXYZ, getBoundedXZ, getBoundedXZ, getBoundedXZ, getBoundedXZ, getBoundedY, getBoundedY, getBoundedY, getBoundedY, getBoundedYZ, getBoundedYZ, getBoundedYZ, getBoundedYZ, getBoundedZ, getBoundedZ, getBoundedZ, getBoundedZ, getInterpolatedPixel, getInterpolatedPixel, getNeighborhoodX, getNeighborhoodX, getNeighborhoodX, getNeighborhoodX, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodY, getNeighborhoodY, getNeighborhoodY, getNeighborhoodY, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodZ, getNeighborhoodZ, getNeighborhoodZ, getNeighborhoodZ, getPixel, getPixel, putBoundedX, putBoundedX, putBoundedX, putBoundedX, putBoundedXY, putBoundedXY, putBoundedXY, putBoundedXY, putBoundedXYZ, putBoundedXYZ, putBoundedXYZ, putBoundedXYZ, putBoundedXZ, putBoundedXZ, putBoundedXZ, putBoundedXZ, putBoundedY, putBoundedY, putBoundedY, putBoundedY, putBoundedYZ, putBoundedYZ, putBoundedYZ, putBoundedYZ, putBoundedZ, putBoundedZ, putBoundedZ, putBoundedZ, putPixel
 
Methods inherited from class imageware.ShortBuffer
getDepth, getDimension, getHeight, getSize, getSizeX, getSizeY, getSizeZ, getSliceByte, getSliceDouble, getSliceFloat, getSliceShort, getTotalSize, getType, getTypeToString, getVolume, getWidth, getX, getX, getX, getX, getX, getXY, getXY, getXY, getXY, getXY, getXYZ, getXYZ, getXYZ, getXYZ, getXYZ, getXZ, getXZ, getXZ, getXZ, getXZ, getY, getY, getY, getY, getY, getYZ, getYZ, getYZ, getYZ, getYZ, getZ, getZ, getZ, getZ, getZ, isSameSize, putX, putX, putX, putX, putX, putXY, putXY, putXY, putXY, putXY, putXYZ, putXYZ, putXYZ, putXYZ, putXYZ, putXZ, putXZ, putXZ, putXZ, putXZ, putY, putY, putY, putY, putY, putYZ, putYZ, putYZ, putYZ, putYZ, putZ, putZ, putZ, putZ, putZ, throw_constructor, throw_constructor, throw_get, throw_put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface imageware.Pointwise
abs, add, addGaussianNoise, addSaltPepper, addUniformNoise, buildImageStack, clip, clip, divide, exp, fillConstant, fillGaussianNoise, fillRamp, fillSaltPepper, fillUniformNoise, invert, log, multiply, negate, pow, rescale, rescale, rescaleCenter, sqr, sqrt, subtract, threshold, threshold, thresholdHard, thresholdSoft
 
Methods inherited from interface imageware.Access
getBlockX, getBlockX, getBlockX, getBlockX, getBlockXY, getBlockXY, getBlockXY, getBlockXY, getBlockXYZ, getBlockXYZ, getBlockXYZ, getBlockXYZ, getBlockXZ, getBlockXZ, getBlockXZ, getBlockXZ, getBlockY, getBlockY, getBlockY, getBlockY, getBlockYZ, getBlockYZ, getBlockYZ, getBlockYZ, getBlockZ, getBlockZ, getBlockZ, getBlockZ, getBoundedX, getBoundedX, getBoundedX, getBoundedX, getBoundedXY, getBoundedXY, getBoundedXY, getBoundedXY, getBoundedXYZ, getBoundedXYZ, getBoundedXYZ, getBoundedXYZ, getBoundedXZ, getBoundedXZ, getBoundedXZ, getBoundedXZ, getBoundedY, getBoundedY, getBoundedY, getBoundedY, getBoundedYZ, getBoundedYZ, getBoundedYZ, getBoundedYZ, getBoundedZ, getBoundedZ, getBoundedZ, getBoundedZ, getInterpolatedPixel, getInterpolatedPixel, getNeighborhoodX, getNeighborhoodX, getNeighborhoodX, getNeighborhoodX, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodY, getNeighborhoodY, getNeighborhoodY, getNeighborhoodY, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodZ, getNeighborhoodZ, getNeighborhoodZ, getNeighborhoodZ, getPixel, getPixel, putBoundedX, putBoundedX, putBoundedX, putBoundedX, putBoundedXY, putBoundedXY, putBoundedXY, putBoundedXY, putBoundedXYZ, putBoundedXYZ, putBoundedXYZ, putBoundedXYZ, putBoundedXZ, putBoundedXZ, putBoundedXZ, putBoundedXZ, putBoundedY, putBoundedY, putBoundedY, putBoundedY, putBoundedYZ, putBoundedYZ, putBoundedYZ, putBoundedYZ, putBoundedZ, putBoundedZ, putBoundedZ, putBoundedZ, putPixel
 
Methods inherited from interface imageware.Buffer
getDepth, getDimension, getHeight, getSize, getSizeX, getSizeY, getSizeZ, getSliceByte, getSliceDouble, getSliceFloat, getSliceShort, getTotalSize, getType, getTypeToString, getVolume, getWidth, getX, getX, getX, getX, getX, getXY, getXY, getXY, getXY, getXY, getXYZ, getXYZ, getXYZ, getXYZ, getXYZ, getXZ, getXZ, getXZ, getXZ, getXZ, getY, getY, getY, getY, getY, getYZ, getYZ, getYZ, getYZ, getYZ, getZ, getZ, getZ, getZ, getZ, isSameSize, putX, putX, putX, putX, putX, putXY, putXY, putXY, putXY, putXY, putXYZ, putXYZ, putXYZ, putXYZ, putXYZ, putXZ, putXZ, putXZ, putXZ, putXZ, putY, putY, putY, putY, putY, putYZ, putYZ, putYZ, putYZ, putYZ, putZ, putZ, putZ, putZ, putZ
 

Constructor Detail

ShortProcess

protected ShortProcess(int nx,
                       int ny,
                       int nz)

ShortProcess

protected ShortProcess(java.awt.Image image,
                       int mode)

ShortProcess

protected ShortProcess(ij.ImageStack stack,
                       int mode)

ShortProcess

protected ShortProcess(ij.ImageStack stack,
                       byte chan)

ShortProcess

protected ShortProcess(byte[] array,
                       int mode)

ShortProcess

protected ShortProcess(byte[][] array,
                       int mode)

ShortProcess

protected ShortProcess(byte[][][] array,
                       int mode)

ShortProcess

protected ShortProcess(short[] array,
                       int mode)

ShortProcess

protected ShortProcess(short[][] array,
                       int mode)

ShortProcess

protected ShortProcess(short[][][] array,
                       int mode)

ShortProcess

protected ShortProcess(float[] array,
                       int mode)

ShortProcess

protected ShortProcess(float[][] array,
                       int mode)

ShortProcess

protected ShortProcess(float[][][] array,
                       int mode)

ShortProcess

protected ShortProcess(double[] array,
                       int mode)

ShortProcess

protected ShortProcess(double[][] array,
                       int mode)

ShortProcess

protected ShortProcess(double[][][] array,
                       int mode)
Method Detail

smoothGaussian

public void smoothGaussian(double sigma)
Apply a separable gaussian smoothing over the image with the same strengthness in all directions. To have a smmothing effect the strengthness should be strictly greater than 0 and the size in the considered directions should be greater strictly than 1.

Specified by:
smoothGaussian in interface Process
Parameters:
sigma - Strengthness of the smoothing

smoothGaussian

public void smoothGaussian(double sigmaX,
                           double sigmaY,
                           double sigmaZ)
Apply a separablegaussian smoothing over the image with an independant strengthness in the different directions. To have a smmothing effect the strengthness should be strictly greater than 0 and the size in the considered directions should be greater strictly than 1.

Specified by:
smoothGaussian in interface Process
Parameters:
sigmaX - Strengthness of the smoothing in X axis
sigmaY - Strengthness of the smoothing in X axis
sigmaZ - Strengthness of the smoothing in X axis

max

public void max(ImageWare imageware)
Get the maximum of this imageware and a imageware.

Specified by:
max in interface Process
Parameters:
imageware - imageware to max

min

public void min(ImageWare imageware)
Get the minimum of this imageware and a imageware.

Specified by:
min in interface Process
Parameters:
imageware - imageware to min

add

public void add(ImageWare imageware)
Add a imageware to the current imageware.

Specified by:
add in interface Process
Parameters:
imageware - imageware to add

multiply

public void multiply(ImageWare imageware)
Multiply a imageware to the current imageware.

Specified by:
multiply in interface Process
Parameters:
imageware - imageware to multiply

subtract

public void subtract(ImageWare imageware)
Subtract a imageware to the current imageware.

Specified by:
subtract in interface Process
Parameters:
imageware - imageware to subtract

divide

public void divide(ImageWare imageware)
Divide a imageware to the current imageware.

Specified by:
divide in interface Process
Parameters:
imageware - imageware to divide